<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>    
    <title>商家合单</title>
  </head>
  
  <body>
  <section class="content">
<div class="row">
		<div class="col-md-12">

			<!-- Primary box -->
			<div class="box box-solid box-primary">
				<div class="box-header">
					<i class="fa fa-edit"></i>
					<h3 class="box-title">管理合单条件</h3>
					<div class="box-tools pull-right">
						<button class="btn btn-primary btn-sm" data-widget="collapse">
							<i class="fa fa-minus"></i>
						</button>
					</div>
				</div>
				<div class="box-body">
    <table class="table table-striped table-bordered table-condensed">
			<thead>
				<tr>
					<th>
						商家名称
					</th>
					<th>
						商家编码
					</th>
					
					<th>
						合单平台
					</th>
					<th>
						合单条件
					</th>
					<th>
						操作
					</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach items="${customersOrdenoSources}" var="object">
					<tr>
						<td>
							${customers.customerName }
						</td>
						<td>
							${object.customerCode}
						</td>
						<td>
							${object.shopCodes}
						</td>
						<td>
						  	${object.mergeOrdenos}						
						</td>
						<td>
					
					     <a href="${ctx }/v2/customersOrdenoSource/update/${object.id}" class="btn btn-small btn-primary" >修改</a>
							
						</td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
		</div>
		</div>
		</div>
		</div>
		</section>
  </body>
</html>
